<!-- FUNÇÃO PARA RECEBER SOMENTE NUEMROS NO CAMPO DE LOGIN -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script>
	function verificaNumero(e) {
		if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {
			return false;
		}
	}
	 
	$(document).ready(function() {
		$("#login").keypress(verificaNumero);
	});
</script>
        
<form class="form-horizontal" role="form" method="post" action="actionCadastrarPerfil.php" enctype="multipart/form-data">

    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">Login</label>
        /Email
        <div class="col-sm-4">
            <input type="text" class="form-control" id="login" name="login" required>
           <span class="text-primary"> somente números</span>
        </div>
    </div>

    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">Nome</label>
        <div class="col-sm-4">
            <input type="text" class="form-control" id="nome" name="nome"  required>
        </div>
    </div>    

    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
        <div class="col-sm-4">
            <input type="email" class="form-control" id="email" name="email"  required>
        </div>
    </div>       
    
    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Senha</label>
        <div class="col-sm-4">
            <input type="password" class="form-control" id="senha" name="senha"  required>
        </div>
    </div>

    <div class="form-group">
        <label for="inputPassword3" class="col-sm-2 control-label">Perfil</label>
        <div class="col-sm-4">
            <select class="form-control" id="tipo" name="tipo">
              <option value="1">Administrador</option>
              <option value="0">Usuário Final</option>
            </select>
        </div>
    </div>    
    
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <button type="submit" class="btn btn-primary">Cadastrar</button>
      </div>
    </div>	      	                             
                  
</form> 
                                          